﻿<%@ Page Language="C#" %>
<script runat="server">
    protected override void OnLoad(EventArgs e)
    {
        Response.Clear();
        if (Page.User.Identity.Name == "" || string.IsNullOrEmpty(Request["whoChatMe"]))
        {
            Response.Write("0");
            Response.End();
            return;
        }
        if (BLF.WWW_User.Users.User.UpdateWhoChatMe(Page.User.Identity.Name, Request["whoChatMe"]))
        {
            Response.Write("1");
            Response.End();
            return;
        }
        else
        {
            Response.Write("0");
            Response.End();
            return;
        }
    }
</script>